package com.moco.launcher.activity;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

import com.moco.launcher.R;
import com.moco.launcher.wifi.WifiSettings;

public class WifiSettingsActivity extends BaseActivity{
	private static final String TAG = "WifiSettingsActivity";
	
	private ImageView mExitView = null;
	private WifiSettings wifiSettings;
	
	protected void onCreate(Bundle savedInstanceState) {    
        super.onCreate(savedInstanceState);
        
        this.setContentView(R.layout.wifisetting_layout);
        
        mExitView = (ImageView) this.findViewById(R.id.wifi_settings_exit);
        mExitView.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				finish();
			}
        });
        
        if(wifiSettings == null)
        		wifiSettings = new WifiSettings();
        
        getFragmentManager().beginTransaction().replace(R.id.fragment, wifiSettings).commit();  
    }	
}
